﻿@namespace MXERP.Blazor.Components
@using MudBlazor.Utilities
@inherits MudComponentBase
@if (Parent?.KeepPanelsAlive == true)
{
    <div @attributes="UserAttributes" class="@Class" style="display:@(_isActive ? "contents" : "none");@Style">
        @ChildContent
    </div>
}
else
{
    @if (_isActive)
    {
        @ChildContent
    }
}
